import XLSX from 'xlsx';

export default () => {
    var aoa = [
        ["A",   "B",     "C",    "D"],
        ["1", "2", "3", "4"],
        [5,        6,        7,      8]
      ];


    var wb = XLSX.utils.book_new();
    var ws = XLSX.utils.aoa_to_sheet(aoa);
    XLSX.utils.book_append_sheet(wb, ws);

    XLSX.writeFile(wb,"AOA_EXPORT.xlsx", {compression:true});
}